package com.pattern.strategy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SalesMan {

    private Strategy strategy;

    //展示促销活动给用户
    public void salesManShow() {
        this.strategy.show();
    }

}
